package com.xteam.youin_supplier.model;

import java.util.List;

/**
 * Created by Curry on 2015-12-27.
 */
public class BaseInfo {

    /**
     * flag : true
     * data : {"count":"850.00L","sum":"￥4715","list":[{"time":"2015-12-25","str":"750.00L/4115元","car_id":1,"name":"河北运输第一小队"},{"time":"2015-12-08","str":"100.00L/600元","car_id":5,"name":"河北运输第二小队"}]}
     * msg : 成功
     */
    private boolean flag;
    private DataEntity data;
    private String msg;

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public DataEntity getData() {
        return data;
    }

    public String getMsg() {
        return msg;
    }

    public class DataEntity {
        /**
         * count : 850.00L
         * sum : ￥4715
         * list : [{"time":"2015-12-25","str":"750.00L/4115元","car_id":1,"name":"河北运输第一小队"},{"time":"2015-12-08","str":"100.00L/600元","car_id":5,"name":"河北运输第二小队"}]
         */
        private String count;
        private String sum;
        private List<ListEntity> list;

        public void setCount(String count) {
            this.count = count;
        }

        public void setSum(String sum) {
            this.sum = sum;
        }

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public String getCount() {
            return count;
        }

        public String getSum() {
            return sum;
        }

        public List<ListEntity> getList() {
            return list;
        }

        public class ListEntity {
            /**
             * time : 2015-12-25
             * str : 750.00L/4115元
             * car_id : 1
             * name : 河北运输第一小队
             */
            private String time;
            private String str;
            private int car_id;
            private String name;

            public void setTime(String time) {
                this.time = time;
            }

            public void setStr(String str) {
                this.str = str;
            }

            public void setCar_id(int car_id) {
                this.car_id = car_id;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getTime() {
                return time;
            }

            public String getStr() {
                return str;
            }

            public int getCar_id() {
                return car_id;
            }

            public String getName() {
                return name;
            }
        }
    }
}
